{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('show') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ dry_path("permission_new") }}" data-route="permission_new">{{ dry_translation('new') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("permission_edit", rs.id) }}" data-route="permission_edit">{{ dry_translation('edit') }}</a>
        <a class="btn btn-outline btn-info" href="{{ dry_path("permission_index") }}" data-route="permission_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <table class="table">
        <tr>
            <th style="border-top:none;">ID</th>
            <td style="border-top:none;">{{ rs.id }}</td>
        </tr>
        <tr>
            <th>路由</th>
            <td>{{ rs.dry_route }}</td>
        </tr>
        <tr>
            <th>等同菜单路由</th>
            <td>{{ rs.dry_menu_route }}</td>
        </tr>
        <tr>
            <th>自动</th>
            <td>{{ rs.dry_auto }}</td>
        </tr>
        <tr>
            <th>语言</th>
            <td>{{ rs.dry_language }}</td>
        </tr>
        <tr>
            <th>备注</th>
            <td>{{ rs.dry_note }}</td>
        </tr>
        <tr>
            <th>排序</th>
            <td>{{ rs.dry_sort }}</td>
        </tr>
        <tr>
            <th>添加时间</th>
            <td>{{ rs.dry_add_time }}</td>
        </tr>
    </table>
{% endblock %}
